<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $uid 用户id
 * @property string $ip 被封禁ip
 * @property string $imei 被封禁设备号
 * @property int $type 1警告 2禁言 3账号封禁 4封禁设备 5封禁ip
 * @property int $status 1处罚生效中 2处罚结束
 * @property int $ctime 开始时间
 * @property int $times 封禁时长
 * @property int $end_time 解封时间
 * @property string $reason 处罚原因 （下发给用户）
 * @property string $remark 备注信息
 * @property string $admin_user 操作人
 */
class UserLock extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_user_lock';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'type' => 'integer', 'status' => 'integer', 'ctime' => 'integer', 'times' => 'integer', 'end_time' => 'integer'];
}
